{#
/**
 * Generate a row for the table
 *
 * @var $answer_tds      : the cells of each row, generated with the view rows/cells/*.php
 * @var $myfname
 * @var $answertext
 * @var $value
 * @var $right_exists
 * @var $answertextright
 */
#}

<!-- answer_row -->
<tr id="javatbd{{ myfname }}" class="answers-list radio-list {% if odd %} ls-odd{% else %} ls-even{% endif %}{% if error %} ls-error-mandatory has-error{% endif %}" role="radiogroup"  aria-labelledby="answertext{{ myfname }}">
    <th id="answertext{{ myfname }}" class="answertext control-label{% if answerwidth==0 %} visually-hidden{% endif %}">
        {{ processString(answertext) }}
        
        {# Value for expression manager javascript (use id) ; no need to submit #}
        {{ C.Html.hiddenField("java"~myfname,value,({
            'id' : "java"~myfname,
            'disabled' : true,
        }))
        }}
    </th>

        {% for aAnswerColumn in aAnswerColumns %}
            {% include 'survey/questions/answer/arrays/array/no_dropdown/rows/cells/answer_td.twig' with aAnswerColumn %}
        {% endfor %}
        {# Defined in answer_td view #}
    
    {% if right_exists %}
        <th class='answertextright information-item{% if answerwidth==0 %} visually-hidden{% endif %}'>{{ processString(answertextright) }}</th>
    {% endif %}
    
        {# No answer should come after right text at bipolar question #}
        {% if aNoAnswerColumn is not empty %}
            {% include 'survey/questions/answer/arrays/array/no_dropdown/rows/cells/answer_td.twig' with aNoAnswerColumn %}
        {% endif %}
    
</tr>
<!-- end of answer_row -->